.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  background: #fafafa;
  padding: 24px;
  border-radius: 2px;

  :global {
    .ant-form {
      flex: 1;
      margin-right: 16px;

      .ant-form-item {
        margin-bottom: 0;
        margin-right: 16px;

        &:last-child {
          margin-right: 0;
        }
      }
    }
  }
}

.modalFooter {
  text-align: right;
  margin-bottom: 0;
}

// 轮播图上传组件样式
.carouselForm {
  .imageUpload {
    :global {
      .ant-upload-list-picture-card-container {
        width: 320px !important;
        height: 100px !important;
        margin: 0 !important;
      }
      .ant-upload.ant-upload-select {
        width: 320px !important;
        height: 100px !important;
        margin: 0 !important;
      }
      .ant-upload-list-item-image {
        object-fit: cover;
      }
    }
  }
} 

.link {
  position: relative;
  color: #1677ff;
  text-decoration: none;
  
  &::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transition: transform 0.2s;
  }
  
  &:hover::after {
    transform: scaleX(1);
  }

  &:hover {
    color: #69b1ff;
  }
} 